package com.endbd.warehouse;

import com.endbd.feignapi.api.MarketingApi;
import com.endbd.feignapi.config.SpringMVCConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableFeignClients(basePackageClasses = {MarketingApi.class})
@Import({SpringMVCConfig.class})
public class WarehouseServiceApplication {

    public static void main(String[] args) {

        SpringApplication.run(WarehouseServiceApplication.class, args);
    }

}
